﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.ServiceModel;

namespace BattleshipContract
{
    [ServiceContract(Namespace="BattleshipContract")]
    public interface IGamePlayCallBack
    {
        [OperationContract(IsOneWay=true)]
        void onPlayerReady(string PlayerName);
        [OperationContract(IsOneWay = true)]
        void onPlayerTurn(string PlayerName);
        [OperationContract(IsOneWay = true)]
        void onPlayerShot(string PlayerName);

        /*public delegate void PlayerReadyhandler(int PlayerId, Point[] positions);
        public event PlayerReadyhandler PlayerReady;
        public delegate void PlayerTurnhandler(int PlayerId);
        public event PlayerTurnhandler PlayerTurn;
        public delegate void PlayerShothandler(int PlayerId, Point[] positions);
        public event PlayerShothandler PlayerShot;*/
    }
}
